// ignore_for_file: constant_identifier_names

// 访问链接：https://console.cloud.google.com/auth/clients?inv=1&invt=AbtSbQ&project=inmotion-app-321108
// google登录认证android客户端id
import 'dart:math';

import 'package:flutter_screenutil/flutter_screenutil.dart';

const String GoogleClientIdAndroid =
    '107352608967-vv3olshtrsjmigfc74ra8d414peb5oj1.apps.googleusercontent.com';
// google登录认证serverid
const String GoogleServerId =
    '107352608967-fj4su287h020qluc54vnjsf3bnokhr0a.apps.googleusercontent.com';
// google登录认证ios客户端id
const String GoogleClientIdIOS = '';
// google登录认证ios URL Scheme
const String GoogleClientIdIOSURLScheme = '';

// 高德iOS地图key
const String AMapIOSKey = 'b7b731dec39e647ae1f566d16da15e89';

// 高德Android地图key
const String AMapAndroidKey = 'e9239dfcc6c1c92ef58ad64dd621ad68';

// zendesk的channelId
const String zendeskChannelId_ios =
    'eyJzZXR0aW5nc191cmwiOiJodHRwczovL2ltc2N2LnplbmRlc2suY29tL21vYmlsZV9zZGtfYXBpL3NldHRpbmdzLzAxSlgxRlNXVDU0NFhYN1FZTVpLRFFWTVk5Lmpzb24ifQ==';

// zendesk的channelId
const String zendeskChannelId_android =
    'eyJzZXR0aW5nc191cmwiOiJodHRwczovL2ltc2N2LnplbmRlc2suY29tL21vYmlsZV9zZGtfYXBpL3NldHRpbmdzLzAxSlgyN0EzWUEwSEU2MEhKUzBWUDZXMTZaLmpzb24ifQ==';

// aesCtr加密key
const String aesCtrEncryptKey = '7962f60ea74f475c8b2468cb1fe01009';

// Sentry Flutter DNS
const String SentryFlutterDsn =
    'https://4a68054a0ad34aac3b9c213584b2e743@o4509784918327296.ingest.us.sentry.io/4509784962957312';

// 独立站购物链接
const String shoppingUrl = "https://store.inmotionworld.com/";

// 阿里云OSS相关常量
const String ossFileUrl = "https://oss-cn-sz.file.imscv.com/";

// 中国phoneCode
const String chinesePhoneCode = "0086";

// 游客的uid
const int guestUid = -999;

// 车辆昵称最大长度16，但是末尾必须以'\0'结尾，实际可用长度是14
const int vehicleNicknameMaxLength = 14;
// 默认车辆昵称
const String defaultVehicleNickname = "Inmotion Fans";
// 车辆密码长度
const int vehiclePasswordLength = 4;
// 手机号最小长度
const int phoneMinLength = 8;
// 验证码长度
const int verificationCodeLength = 6;
// 密码最小长度
const int passwordMinLength = 8;
// 密码最大长度
const int passwordMaxLength = 16;
// 邮箱最大长度
const int emailMaxLength = 50;

// 通用按钮的高度
double commonButtonHeight = 56.w;

/// 底部公共按钮高度
final double bottomButtonHeight = min(56.w, 65);

/// 默认输入框高度
final double textFieldHeight = min(55.w, 65);

/// 列表每行高度
const double rowHeight = 60;
